home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
funcom 2000 Presskit
/
000721_1312 (fun.com).iso
/
funcom.dir
/
00030_Script_30
< prev
next >
Wrap
Text File
|
2000-07-20
|
626b
|
28 lines
-- Display Translated Size behavior
-----------------------------------------------------------
-- Displays the width of the ball sprite.
--
-- You attach this behavior to a text sprite.
--
-- David Benman 11/97
-----------------------------------------------------------
on beginSprite me
displaySize me
end
on sliderMove me
displaySize me
end
on displaySize me
set currentSprite to the spriteNum of me
set currentMember to the member of sprite currentSprite
set ballSprite to currentSprite - 2
set the text of member currentMember to string(the width of sprite ballSprite)
end